[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
PUSHA Push All (186/286/386) Flags: O D I T S Z A P C
POPA
Logic: PUSH AX
PUSH CX
PUSH DX
PUSH BX
PUSH SP
PUSH BP
PUSH SI
PUSH DI
This instruction pushes the eight general-purpose registers in a 186, 286
or 386. The registers pushed, in order, are: AX, CX, DX, BX, SP, BP, SI,
and DI. Use POPA to pop all the registers again.
The PUSHA/POPA instructions are useful at the beginning and end of called
procedures to save and restore the contents of used registers.
--------------------------------------------------------------------------
Operands Clocks Transfers Bytes Example
PUSHA 17 (286) 16 1 PUSHA
--------------------------------------------------------------------------
See Also:
POPA
POPAD
PUSHAD
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson